package com.lxp.modules.gyy.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * Employee
 *
 * @TableName hr_employee
 */
@TableName(value = "hr_employee")
@Data
public class HrEmployee implements Serializable {
    /**
     * 主键
     */
    @TableId
    private Integer id;

    /**
     * 员工姓名
     */
    private String name;

    /**
     * 用户ID
     */
    private Integer userId;

    /**
     * 是否激活
     */
    private Boolean active;
    /**
     * 部门ID
     */
    private Integer departmentId;

    /**
     * Work Email
     */
    private String workEmail;

    /**
     * 创建时间
     */
    private Date createDate;

    @TableField(exist = false)
    private List<ProjectTask> tasks;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}